package com.xcdh.base.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xcdh.domain.RequestPage;
import com.xcdh.domain.entity.UserDO;
import com.xcdh.base.mapper.UserMapper;
import com.xcdh.base.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, UserDO> implements UserService {
    @Autowired
    private UserMapper userMapper ;
    @Override
    public RequestPage<UserDO> page(RequestPage<UserDO> page) {
        return userMapper.listPage( page);
    }
}
